package basic4;

import java.util.Scanner;



public class J04_01 {

	public static void main(String[] args) {
		while (true){
		Scanner sc = new Scanner(System.in);
		System.out.print("숫자를 입력하세요 : ");
		int num = sc.nextInt();
//		String num = sc.nextLine();
		if (num > 0) {
			System.out.println("정수입니다.");
			System.out.println(num);

		}else if (num < 0){
			System.out.println("음수입니다.");
			System.out.println(num);
		} else if (num == 0) {
			System.out.println("0입니다.");
			System.out.println(num);
		}
		
	}
	}
}
